<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>伪类</title>
    <style>
        a:link{color: red;}
        a:visited{color: green;}
        a:hover{background-color: pink;}
        a:active{color: orange;}
        a{text-decoration: none;}
        p a:hover {font-size: 100px;}
        div a:hover{font-weight: bold;}
    </style>
</head>
<body>
   <p><a href="http://www.imooc.com" target="_blank"  >前往慕课网</a> </p>
 <div> <a href="http://www.baidu.com" target="_blank"  >前往百度网</a> </div>
</body>
</html>